package com.ruoyi.platform.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 应用优化对象 tb_app
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbApp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应用ID */
    private Long appId;

    /** 应用名称 */
    @Excel(name = "应用名称")
    private String appName;

    /** 应用排列顺序 */
    @Excel(name = "应用排列顺序")
    private String appSort;

    /** 安装包 */
    private String appUpload;

    /** 应用图标 */
    @Excel(name = "应用图标")
    private String appImages;

    /** 应用包名 */
    @Excel(name = "应用包名")
    private String packageName;

    /** 应用状态 */
    @Excel(name = "应用状态")
    private Long status;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long userId;

    public void setAppId(Long appId) 
    {
        this.appId = appId;
    }

    public Long getAppId() 
    {
        return appId;
    }

    public void setAppName(String appName) 
    {
        this.appName = appName;
    }

    public String getAppName() 
    {
        return appName;
    }

    public void setAppSort(String appSort) 
    {
        this.appSort = appSort;
    }

    public String getAppSort() 
    {
        return appSort;
    }

    public void setAppUpload(String appUpload) 
    {
        this.appUpload = appUpload;
    }

    public String getAppUpload() 
    {
        return appUpload;
    }

    public void setAppImages(String appImages) 
    {
        this.appImages = appImages;
    }

    public String getAppImages() 
    {
        return appImages;
    }

    public void setPackageName(String packageName) 
    {
        this.packageName = packageName;
    }

    public String getPackageName() 
    {
        return packageName;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("appId", getAppId())
            .append("appName", getAppName())
            .append("appSort", getAppSort())
            .append("appUpload", getAppUpload())
            .append("appImages", getAppImages())
            .append("packageName", getPackageName())
            .append("status", getStatus())
            .append("uploadTime", getUploadTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
